const option = {
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow'
    }
  },
  legend: {
    show: false
  },

  grid: {
    left: '3%',
    right: '4%',
    bottom: '3%',
    containLabel: true
  },
  xAxis: {
    show: false,
    type: 'value',
    splitLine: {
      show: false
    },
    axisLabel: {//y轴文字的配置
      textStyle: {
        color: 'white',//Y轴内容文字颜色
      },
    },
  },
  yAxis: {
    show: true,
    type: 'category',
    axisLabel: {//y轴文字的配置
      textStyle: {
        color: 'white',//Y轴内容文字颜色
      },
    },
    data: ['退租追踪', '装修安全', '入驻企业',],
    splitLine: {
      show: false
    }
  },
  series: [
    {
      name: '生产工艺确认是否符合属地安全环保要求',
      type: 'bar',
      stack: 'total',
      label: {
        show: true,
        color: 'black',

        formatter: function (e) {
          return e.value == 0 ? '' : ('' + e.value)
        }
      },
      itemStyle: {
        normal: { color: "#b2540e" },
      },
      emphasis: {
        focus: 'series'
      },

      data: [320, 302, 301,]
    },
    {
      name: '生产类型与厂房使用性质是否匹配',
      type: 'bar',
      stack: 'total',
      label: {
        show: true,
        color: 'black',

        formatter: function (e) {
          return e.value == 0 ? '' : ('' + e.value)
        }
      },
      itemStyle: {
        normal: { color: "#0070c0" },
      },
      emphasis: {
        focus: 'series'
      },
      data: [120, 132, 101]
    },
    {
      name: '是否完成立项备案',
      type: 'bar',
      stack: 'total',
      label: {
        show: true,
        color: 'black',

        formatter: function (e) {
          return e.value == 0 ? '' : ('' + e.value)
        }
      },
      itemStyle: {
        normal: { color: "#f4aa72" },
      },
      emphasis: {
        focus: 'series'
      },
      data: [220, 182, 191, 234, 290, 330, 310]
    },
    {
      name: '环评是否签约及实施',
      type: 'bar',
      stack: 'total',
      label: {
        show: true,
        color: 'black',

        formatter: function (e) {
          return e.value == 0 ? '' : ('' + e.value)
        }
      },
      itemStyle: {
        normal: { color: "#ffff00" },
      },
      emphasis: {
        focus: 'series'
      },
      data: [150, 212, 201, 154, 190, 330, 410]
    },
    {
      name: '安全三同时是否签约及实施',
      type: 'bar',
      stack: 'total',
      label: {
        show: true,
        color: 'black',

        formatter: function (e) {
          return e.value == 0 ? '' : ('' + e.value)
        }
      },
      itemStyle: {
        normal: { color: "#00b0f0" },
      },
      emphasis: {
        focus: 'series'
      },
      data: [820, 832, 901, 934, 1290, 1330, 1320]
    },
    {
      name: '所有手续完结',
      type: 'bar',
      stack: 'total',
      label: {
        show: true,
        color: 'black',

        formatter: function (e) {
          return e.value == 0 ? '' : ('' + e.value)
        }
      },
      itemStyle: {
        normal: { color: "#00b050" },
      },
      emphasis: {
        focus: 'series'
      },
      data: [820, 832, 901, 934, 1290, 1330, 1320]
    },
    {
      name: '驳回',
      type: 'bar',
      stack: 'total',
      label: {
        show: true,
        color: 'black',
        formatter: function (e) {
          return e.value == 0 ? '' : ('' + e.value)
        }
      },
      itemStyle: {
        normal: { color: "#ff0000" },
      },
      emphasis: {
        focus: 'series'
      },
      data: [820, 832, 901, 934, 1290, 1330, 1320]
    }
  ]
};
export default option